﻿namespace TestTool.Proxies.Event
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.ServiceModel;
    using System.Xml.Serialization;

    [MessageContract(WrapperName="PullMessagesResponse", WrapperNamespace="http://www.onvif.org/ver10/events/wsdl", IsWrapped=true), DebuggerStepThrough, GeneratedCode("System.ServiceModel", "3.0.0.0")]
    public class PullMessagesResponse
    {
        [MessageBodyMember(Namespace="http://www.onvif.org/ver10/events/wsdl", Order=0)]
        public DateTime CurrentTime;
        [MessageBodyMember(Namespace="http://docs.oasis-open.org/wsn/b-2", Order=2), XmlElement("NotificationMessage", Namespace="http://docs.oasis-open.org/wsn/b-2")]
        public NotificationMessageHolderType[] NotificationMessage;
        [MessageBodyMember(Namespace="http://www.onvif.org/ver10/events/wsdl", Order=1)]
        public DateTime TerminationTime;

        public PullMessagesResponse()
        {
        }

        public PullMessagesResponse(DateTime CurrentTime, DateTime TerminationTime, NotificationMessageHolderType[] NotificationMessage)
        {
            this.CurrentTime = CurrentTime;
            this.TerminationTime = TerminationTime;
            this.NotificationMessage = NotificationMessage;
        }
    }
}

